let express = require('express');
let router = express.Router();

const { createRes } = require('../utils/index');
/* GET home page. */
router.get('/', function (req, res, next) {
  res.send('text')
});

 

// 测试接口
router.get('/getList', async function (req, res, next) {

  res.send(createRes(200, '成功', [{name: 1, value: 2}]))
  
})
module.exports = router;
